package org.softmed.rest.admin.handler;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class HandlerManagerHeader extends JPanel {

	public HandlerManagerHeader() {
//		setBackground(Color.WHITE);
		
		setPreferredSize(new Dimension(540,25));
		setMaximumSize(new Dimension(540,25));
		setMinimumSize(new Dimension(540,25));
		
		setLayout(new BoxLayout(this, BoxLayout.LINE_AXIS));
		JLabel label = new JLabel("MediaType");
		
		label.setPreferredSize(new Dimension(250,25));
		label.setMaximumSize(new Dimension(250,25));
		label.setMinimumSize(new Dimension(250,25));
		
		add(label);
		label = new JLabel("Source");
		
		label.setPreferredSize(new Dimension(250,25));
		label.setMaximumSize(new Dimension(250,25));
		label.setMinimumSize(new Dimension(250,25));
		
		add(label);
		add(Box.createHorizontalGlue());

	}

}
